<script setup>
</script>

<template>
  <header style="top: 0px; background: #dfecd5" class="common">顶部</header>
  <router-view></router-view>
  <footer style="bottom: 0px;background: #dfecd5" class="common">底部</footer>
</template>

<style>
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  /* max-width: 440px; */
  background-color: #f8f8f8;
}
#app {
  height: 100%;
}
.common {
  position: fixed;
  left: 0;
  right: 0;
  height: 60px;
  text-align: center;
  line-height: 60px;
}
</style>
